package kz.kstu.website.entity.enums;


/**
 * @author Filipp_Stankevich
 *         created: 6/27/11 6:01 PM
 */
public enum AccountRoleEnum {

    USER("ROLE_USER", 1), ADMIN("ROLE_ADMIN", 2);

    private Long id;
    private String roleName;

    private AccountRoleEnum(String roleName, Integer id) {
        this.id = id.longValue();
        this.roleName = roleName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
